package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.List;


/**
 * The persistent class for the rbiographical database table.
 * 
 */
@Entity
@NamedQuery(name="Rbiographical.findAll", query="SELECT r FROM Rbiographical r")
public class Rbiographical implements Serializable {
	@Override
	public String toString() {
		return "Rbiographical [reasyid=" + reasyid + ", reasyacademic=" + reasyacademic + ", reasyadress=" + reasyadress
				+ ", reasyage=" + reasyage + ", reasybirthday=" + reasybirthday + ", reasyemail=" + reasyemail
				+ ", reasyguidang=" + reasyguidang + ", reasyinform=" + reasyinform + ", reasyluyong=" + reasyluyong
				+ ", reasyname=" + reasyname + ", reasyphone=" + reasyphone + ", reasyremark=" + reasyremark
				+ ", reasysex=" + reasysex + ", reasystatue=" + reasystatue + ", reasytime=" + reasytime
				+ ", positions=" + positions + ", rapply=" + rapply + ", rinterviewer=" + rinterviewer + ", roffers="
				+ roffers + "]";
	}

	private static final long serialVersionUID = 1L;

	@Id
	private int reasyid;

	private String reasyacademic;

	private String reasyadress;

	private int reasyage;

	@Temporal(TemporalType.DATE)
	private Date reasybirthday;

	private String reasyemail;

	private int reasyguidang;

	private String reasyinform;

	private int reasyluyong;

	private String reasyname;

	private String reasyphone;

	private String reasyremark;

	private String reasysex;

	private String reasystatue;

	@Temporal(TemporalType.DATE)
	private Date reasytime;

	//bi-directional many-to-many association to Position
	@ManyToMany(mappedBy="rbiographicals")
	private List<Position> positions;

	//bi-directional many-to-one association to Rapply
	@ManyToOne
	@JoinColumn(name="rapplyid")
	private Rapply rapply;

	//bi-directional many-to-one association to Rinterviewer
	@ManyToOne
	@JoinColumn(name="rviwerid")
	private Rinterviewer rinterviewer;

	//bi-directional many-to-many association to Roffer
	@ManyToMany(mappedBy="rbiographicals")
	private List<Roffer> roffers;

	public Rbiographical() {
	}

	public int getReasyid() {
		return this.reasyid;
	}

	public void setReasyid(int reasyid) {
		this.reasyid = reasyid;
	}

	public String getReasyacademic() {
		return this.reasyacademic;
	}

	public void setReasyacademic(String reasyacademic) {
		this.reasyacademic = reasyacademic;
	}

	public String getReasyadress() {
		return this.reasyadress;
	}

	public void setReasyadress(String reasyadress) {
		this.reasyadress = reasyadress;
	}

	public int getReasyage() {
		return this.reasyage;
	}

	public void setReasyage(int reasyage) {
		this.reasyage = reasyage;
	}

	public Date getReasybirthday() {
		return this.reasybirthday;
	}

	public void setReasybirthday(Date reasybirthday) {
		this.reasybirthday = reasybirthday;
	}

	public String getReasyemail() {
		return this.reasyemail;
	}

	public void setReasyemail(String reasyemail) {
		this.reasyemail = reasyemail;
	}

	public int getReasyguidang() {
		return this.reasyguidang;
	}

	public void setReasyguidang(int reasyguidang) {
		this.reasyguidang = reasyguidang;
	}

	public String getReasyinform() {
		return this.reasyinform;
	}

	public void setReasyinform(String reasyinform) {
		this.reasyinform = reasyinform;
	}

	public int getReasyluyong() {
		return this.reasyluyong;
	}

	public void setReasyluyong(int reasyluyong) {
		this.reasyluyong = reasyluyong;
	}

	public String getReasyname() {
		return this.reasyname;
	}

	public void setReasyname(String reasyname) {
		this.reasyname = reasyname;
	}

	public String getReasyphone() {
		return this.reasyphone;
	}

	public void setReasyphone(String reasyphone) {
		this.reasyphone = reasyphone;
	}

	public String getReasyremark() {
		return this.reasyremark;
	}

	public void setReasyremark(String reasyremark) {
		this.reasyremark = reasyremark;
	}

	public String getReasysex() {
		return this.reasysex;
	}

	public void setReasysex(String reasysex) {
		this.reasysex = reasysex;
	}

	public String getReasystatue() {
		return this.reasystatue;
	}

	public void setReasystatue(String reasystatue) {
		this.reasystatue = reasystatue;
	}

	public Date getReasytime() {
		return this.reasytime;
	}

	public void setReasytime(Date reasytime) {
		this.reasytime = reasytime;
	}

	public List<Position> getPositions() {
		return this.positions;
	}

	public void setPositions(List<Position> positions) {
		this.positions = positions;
	}

	public Rapply getRapply() {
		return this.rapply;
	}

	public void setRapply(Rapply rapply) {
		this.rapply = rapply;
	}

	public Rinterviewer getRinterviewer() {
		return this.rinterviewer;
	}

	public void setRinterviewer(Rinterviewer rinterviewer) {
		this.rinterviewer = rinterviewer;
	}

	public List<Roffer> getRoffers() {
		return this.roffers;
	}

	public void setRoffers(List<Roffer> roffers) {
		this.roffers = roffers;
	}

}